package cn.venny.qiniu.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author : Vick C
 * @version : v1.0
 * 2020/6/19
 */
@ConfigurationProperties(prefix = "spring.qiniu")
public class QiNiuProperties {

    /**
     * qi niu access key
     */
    private String accessKey;

    /**
     * qi niu access key secret
     */
    private String accessKeySecret;

    /**
     * qi niu bucket
     */
    private String bucket;

    /**
     * qi niu random cname
     */
    private String cname;

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getAccessKeySecret() {
        return accessKeySecret;
    }

    public void setAccessKeySecret(String accessKeySecret) {
        this.accessKeySecret = accessKeySecret;
    }

    public String getBucket() {
        return bucket;
    }

    public void setBucket(String bucket) {
        this.bucket = bucket;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }
}

